azure_mgmt_web 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_web/app_service_certificate_orders.rb +128 -128
- data/lib/generated/azure_mgmt_web/app_service_environments.rb +1 -1
- data/lib/generated/azure_mgmt_web/app_service_plans.rb +1 -1
- data/lib/generated/azure_mgmt_web/certificates.rb +1 -1
- data/lib/generated/azure_mgmt_web/deleted_web_apps.rb +1 -1
- data/lib/generated/azure_mgmt_web/domains.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/address.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/address_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/api_definition_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_environment.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_environment_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_plan.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/application_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/azure_resource_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_item.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_item_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_item_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/backup_schedule.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/capability.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_details.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_email.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_order_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/certificate_product_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/channels.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/check_name_resource_types.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/clone_ability_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/cloning_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/compute_mode_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/conn_string_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/connection_string_dictionary.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/connection_string_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/contact.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/cors_settings.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csr.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/csr_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/database_backup_setting.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/database_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/deleted_site.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/deployment.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/deployment_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/dns_verification_test_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/domain_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/enabled_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/error_entity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/experiments.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/frequency_unit.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/geo_region.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/geo_region_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/global_csm_sku_description.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/handler_mapping.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_name.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_name_binding.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_name_ssl_state.rb +13 -1
- data/lib/generated/azure_mgmt_web/models/host_name_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/host_type.rb +16 -0
- data/lib/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/http_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_key.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/identifier.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/identifier_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/in_availability_reason_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/ip_security_restriction.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/key_vault_secret_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/localizable_string.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/log_level.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/metric_availabilily.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/metric_definition.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/name_identifier.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/name_value_pair.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/network_features.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/notification_level.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/operation.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/operation_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_sample.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/perf_mon_set.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/publishing_profile_format.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/push_settings.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/recommendation.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/recommendation_rule.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/recover_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_availability.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_name.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_property.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_metric_value.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_name_availability.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/resource_scope_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/restore_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/restore_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/route_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/scm_type.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_auth_settings.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_availability_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_cloneability.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_instance.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_limits.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_load_balancing.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_logs_config.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_machine_key.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_seal.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_seal_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/site_source_control.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_description.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_info_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_infos.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/slot_config_names_resource.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/slot_difference.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/slot_swap_status.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/snapshot.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/snapshot_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/source_control.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/source_control_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/ssl_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/stamp_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/status_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/storage_migration_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/storage_migration_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/string_dictionary.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/usage.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/usage_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/usage_state.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/user.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/validate_request.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/validate_resource_types.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/validate_response.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/validate_response_error.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/virtual_application.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/virtual_directory.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/vnet_gateway.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/vnet_info.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/vnet_route.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/web_app_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/worker_pool.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
- data/lib/generated/azure_mgmt_web/models/worker_size_options.rb +1 -1
- data/lib/generated/azure_mgmt_web/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_web/recommendations.rb +1 -1
- data/lib/generated/azure_mgmt_web/top_level_domains.rb +1 -1
- data/lib/generated/azure_mgmt_web/version.rb +2 -2
- data/lib/generated/azure_mgmt_web/web_apps.rb +1 -1
- data/lib/generated/azure_mgmt_web/web_site_management_client.rb +172 -179
- data/lib/generated/azure_mgmt_web.rb +2 -1
- metadata +3 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -657,14 +657,14 @@ module Azure::ARM::Web
|
|
657
657
|
#
|
658
658
|
# @param resource_group_name [String] Name of the resource group to which the
|
659
659
|
# resource belongs.
|
660
|
-
# @param
|
660
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
661
661
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
662
662
|
# will be added to the HTTP request.
|
663
663
|
#
|
664
664
|
# @return [AppServiceCertificateOrder] operation results.
|
665
665
|
#
|
666
|
-
def get(resource_group_name,
|
667
|
-
response = get_async(resource_group_name,
|
666
|
+
def get(resource_group_name, certificate_order_name, custom_headers = nil)
|
667
|
+
response = get_async(resource_group_name, certificate_order_name, custom_headers).value!
|
668
668
|
response.body unless response.nil?
|
669
669
|
end
|
670
670
|
|
@@ -675,14 +675,14 @@ module Azure::ARM::Web
|
|
675
675
|
#
|
676
676
|
# @param resource_group_name [String] Name of the resource group to which the
|
677
677
|
# resource belongs.
|
678
|
-
# @param
|
678
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
679
679
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
680
680
|
# will be added to the HTTP request.
|
681
681
|
#
|
682
682
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
683
683
|
#
|
684
|
-
def get_with_http_info(resource_group_name,
|
685
|
-
get_async(resource_group_name,
|
684
|
+
def get_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
685
|
+
get_async(resource_group_name, certificate_order_name, custom_headers).value!
|
686
686
|
end
|
687
687
|
|
688
688
|
#
|
@@ -692,15 +692,15 @@ module Azure::ARM::Web
|
|
692
692
|
#
|
693
693
|
# @param resource_group_name [String] Name of the resource group to which the
|
694
694
|
# resource belongs.
|
695
|
-
# @param
|
695
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
696
696
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
697
697
|
# to the HTTP request.
|
698
698
|
#
|
699
699
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
700
700
|
#
|
701
|
-
def get_async(resource_group_name,
|
701
|
+
def get_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
702
702
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
703
|
-
fail ArgumentError, '
|
703
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
704
704
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
705
705
|
api_version = '2015-08-01'
|
706
706
|
|
@@ -710,13 +710,13 @@ module Azure::ARM::Web
|
|
710
710
|
# Set Headers
|
711
711
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
712
712
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
713
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
713
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}'
|
714
714
|
|
715
715
|
request_url = @base_url || @client.base_url
|
716
716
|
|
717
717
|
options = {
|
718
718
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
719
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
719
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
720
720
|
query_params: {'api-version' => api_version},
|
721
721
|
headers: request_headers.merge(custom_headers || {}),
|
722
722
|
base_url: request_url
|
@@ -757,7 +757,7 @@ module Azure::ARM::Web
|
|
757
757
|
#
|
758
758
|
# @param resource_group_name [String] Name of the resource group to which the
|
759
759
|
# resource belongs.
|
760
|
-
# @param
|
760
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
761
761
|
# @param certificate_distinguished_name [AppServiceCertificateOrder]
|
762
762
|
# Distinguished name to to use for the certificate order.
|
763
763
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -765,15 +765,15 @@ module Azure::ARM::Web
|
|
765
765
|
#
|
766
766
|
# @return [AppServiceCertificateOrder] operation results.
|
767
767
|
#
|
768
|
-
def create_or_update(resource_group_name,
|
769
|
-
response = create_or_update_async(resource_group_name,
|
768
|
+
def create_or_update(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
|
769
|
+
response = create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers).value!
|
770
770
|
response.body unless response.nil?
|
771
771
|
end
|
772
772
|
|
773
773
|
#
|
774
774
|
# @param resource_group_name [String] Name of the resource group to which the
|
775
775
|
# resource belongs.
|
776
|
-
# @param
|
776
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
777
777
|
# @param certificate_distinguished_name [AppServiceCertificateOrder]
|
778
778
|
# Distinguished name to to use for the certificate order.
|
779
779
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -782,9 +782,9 @@ module Azure::ARM::Web
|
|
782
782
|
# @return [Concurrent::Promise] promise which provides async access to http
|
783
783
|
# response.
|
784
784
|
#
|
785
|
-
def create_or_update_async(resource_group_name,
|
785
|
+
def create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
|
786
786
|
# Send request
|
787
|
-
promise = begin_create_or_update_async(resource_group_name,
|
787
|
+
promise = begin_create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers)
|
788
788
|
|
789
789
|
promise = promise.then do |response|
|
790
790
|
# Defining deserialization method.
|
@@ -807,13 +807,13 @@ module Azure::ARM::Web
|
|
807
807
|
#
|
808
808
|
# @param resource_group_name [String] Name of the resource group to which the
|
809
809
|
# resource belongs.
|
810
|
-
# @param
|
810
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
811
811
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
812
812
|
# will be added to the HTTP request.
|
813
813
|
#
|
814
814
|
#
|
815
|
-
def delete_certificate_order(resource_group_name,
|
816
|
-
response = delete_certificate_order_async(resource_group_name,
|
815
|
+
def delete_certificate_order(resource_group_name, certificate_order_name, custom_headers = nil)
|
816
|
+
response = delete_certificate_order_async(resource_group_name, certificate_order_name, custom_headers).value!
|
817
817
|
nil
|
818
818
|
end
|
819
819
|
|
@@ -824,14 +824,14 @@ module Azure::ARM::Web
|
|
824
824
|
#
|
825
825
|
# @param resource_group_name [String] Name of the resource group to which the
|
826
826
|
# resource belongs.
|
827
|
-
# @param
|
827
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
828
828
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
829
829
|
# will be added to the HTTP request.
|
830
830
|
#
|
831
831
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
832
832
|
#
|
833
|
-
def delete_certificate_order_with_http_info(resource_group_name,
|
834
|
-
delete_certificate_order_async(resource_group_name,
|
833
|
+
def delete_certificate_order_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
834
|
+
delete_certificate_order_async(resource_group_name, certificate_order_name, custom_headers).value!
|
835
835
|
end
|
836
836
|
|
837
837
|
#
|
@@ -841,15 +841,15 @@ module Azure::ARM::Web
|
|
841
841
|
#
|
842
842
|
# @param resource_group_name [String] Name of the resource group to which the
|
843
843
|
# resource belongs.
|
844
|
-
# @param
|
844
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
845
845
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
846
846
|
# to the HTTP request.
|
847
847
|
#
|
848
848
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
849
849
|
#
|
850
|
-
def delete_certificate_order_async(resource_group_name,
|
850
|
+
def delete_certificate_order_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
851
851
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
852
|
-
fail ArgumentError, '
|
852
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
853
853
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
854
854
|
api_version = '2015-08-01'
|
855
855
|
|
@@ -859,13 +859,13 @@ module Azure::ARM::Web
|
|
859
859
|
# Set Headers
|
860
860
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
861
861
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
862
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
862
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}'
|
863
863
|
|
864
864
|
request_url = @base_url || @client.base_url
|
865
865
|
|
866
866
|
options = {
|
867
867
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
868
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
868
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
869
869
|
query_params: {'api-version' => api_version},
|
870
870
|
headers: request_headers.merge(custom_headers || {}),
|
871
871
|
base_url: request_url
|
@@ -896,15 +896,15 @@ module Azure::ARM::Web
|
|
896
896
|
#
|
897
897
|
# @param resource_group_name [String] Name of the resource group to which the
|
898
898
|
# resource belongs.
|
899
|
-
# @param
|
899
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
900
900
|
# @param reissue_certificate_order_request [ReissueCertificateOrderRequest]
|
901
901
|
# Parameters for the reissue.
|
902
902
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
903
903
|
# will be added to the HTTP request.
|
904
904
|
#
|
905
905
|
#
|
906
|
-
def reissue(resource_group_name,
|
907
|
-
response = reissue_async(resource_group_name,
|
906
|
+
def reissue(resource_group_name, certificate_order_name, reissue_certificate_order_request, custom_headers = nil)
|
907
|
+
response = reissue_async(resource_group_name, certificate_order_name, reissue_certificate_order_request, custom_headers).value!
|
908
908
|
nil
|
909
909
|
end
|
910
910
|
|
@@ -915,7 +915,7 @@ module Azure::ARM::Web
|
|
915
915
|
#
|
916
916
|
# @param resource_group_name [String] Name of the resource group to which the
|
917
917
|
# resource belongs.
|
918
|
-
# @param
|
918
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
919
919
|
# @param reissue_certificate_order_request [ReissueCertificateOrderRequest]
|
920
920
|
# Parameters for the reissue.
|
921
921
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -923,8 +923,8 @@ module Azure::ARM::Web
|
|
923
923
|
#
|
924
924
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
925
925
|
#
|
926
|
-
def reissue_with_http_info(resource_group_name,
|
927
|
-
reissue_async(resource_group_name,
|
926
|
+
def reissue_with_http_info(resource_group_name, certificate_order_name, reissue_certificate_order_request, custom_headers = nil)
|
927
|
+
reissue_async(resource_group_name, certificate_order_name, reissue_certificate_order_request, custom_headers).value!
|
928
928
|
end
|
929
929
|
|
930
930
|
#
|
@@ -934,7 +934,7 @@ module Azure::ARM::Web
|
|
934
934
|
#
|
935
935
|
# @param resource_group_name [String] Name of the resource group to which the
|
936
936
|
# resource belongs.
|
937
|
-
# @param
|
937
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
938
938
|
# @param reissue_certificate_order_request [ReissueCertificateOrderRequest]
|
939
939
|
# Parameters for the reissue.
|
940
940
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -942,9 +942,9 @@ module Azure::ARM::Web
|
|
942
942
|
#
|
943
943
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
944
944
|
#
|
945
|
-
def reissue_async(resource_group_name,
|
945
|
+
def reissue_async(resource_group_name, certificate_order_name, reissue_certificate_order_request, custom_headers = nil)
|
946
946
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
947
|
-
fail ArgumentError, '
|
947
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
948
948
|
fail ArgumentError, 'reissue_certificate_order_request is nil' if reissue_certificate_order_request.nil?
|
949
949
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
950
950
|
api_version = '2015-08-01'
|
@@ -963,13 +963,13 @@ module Azure::ARM::Web
|
|
963
963
|
request_content = @client.serialize(request_mapper, reissue_certificate_order_request, 'reissue_certificate_order_request')
|
964
964
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
965
965
|
|
966
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
966
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue'
|
967
967
|
|
968
968
|
request_url = @base_url || @client.base_url
|
969
969
|
|
970
970
|
options = {
|
971
971
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
972
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
972
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
973
973
|
query_params: {'api-version' => api_version},
|
974
974
|
body: request_content,
|
975
975
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -1001,15 +1001,15 @@ module Azure::ARM::Web
|
|
1001
1001
|
#
|
1002
1002
|
# @param resource_group_name [String] Name of the resource group to which the
|
1003
1003
|
# resource belongs.
|
1004
|
-
# @param
|
1004
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1005
1005
|
# @param renew_certificate_order_request [RenewCertificateOrderRequest] Renew
|
1006
1006
|
# parameters
|
1007
1007
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1008
1008
|
# will be added to the HTTP request.
|
1009
1009
|
#
|
1010
1010
|
#
|
1011
|
-
def renew(resource_group_name,
|
1012
|
-
response = renew_async(resource_group_name,
|
1011
|
+
def renew(resource_group_name, certificate_order_name, renew_certificate_order_request, custom_headers = nil)
|
1012
|
+
response = renew_async(resource_group_name, certificate_order_name, renew_certificate_order_request, custom_headers).value!
|
1013
1013
|
nil
|
1014
1014
|
end
|
1015
1015
|
|
@@ -1020,7 +1020,7 @@ module Azure::ARM::Web
|
|
1020
1020
|
#
|
1021
1021
|
# @param resource_group_name [String] Name of the resource group to which the
|
1022
1022
|
# resource belongs.
|
1023
|
-
# @param
|
1023
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1024
1024
|
# @param renew_certificate_order_request [RenewCertificateOrderRequest] Renew
|
1025
1025
|
# parameters
|
1026
1026
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1028,8 +1028,8 @@ module Azure::ARM::Web
|
|
1028
1028
|
#
|
1029
1029
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1030
1030
|
#
|
1031
|
-
def renew_with_http_info(resource_group_name,
|
1032
|
-
renew_async(resource_group_name,
|
1031
|
+
def renew_with_http_info(resource_group_name, certificate_order_name, renew_certificate_order_request, custom_headers = nil)
|
1032
|
+
renew_async(resource_group_name, certificate_order_name, renew_certificate_order_request, custom_headers).value!
|
1033
1033
|
end
|
1034
1034
|
|
1035
1035
|
#
|
@@ -1039,7 +1039,7 @@ module Azure::ARM::Web
|
|
1039
1039
|
#
|
1040
1040
|
# @param resource_group_name [String] Name of the resource group to which the
|
1041
1041
|
# resource belongs.
|
1042
|
-
# @param
|
1042
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1043
1043
|
# @param renew_certificate_order_request [RenewCertificateOrderRequest] Renew
|
1044
1044
|
# parameters
|
1045
1045
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -1047,9 +1047,9 @@ module Azure::ARM::Web
|
|
1047
1047
|
#
|
1048
1048
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1049
1049
|
#
|
1050
|
-
def renew_async(resource_group_name,
|
1050
|
+
def renew_async(resource_group_name, certificate_order_name, renew_certificate_order_request, custom_headers = nil)
|
1051
1051
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1052
|
-
fail ArgumentError, '
|
1052
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1053
1053
|
fail ArgumentError, 'renew_certificate_order_request is nil' if renew_certificate_order_request.nil?
|
1054
1054
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1055
1055
|
api_version = '2015-08-01'
|
@@ -1068,13 +1068,13 @@ module Azure::ARM::Web
|
|
1068
1068
|
request_content = @client.serialize(request_mapper, renew_certificate_order_request, 'renew_certificate_order_request')
|
1069
1069
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1070
1070
|
|
1071
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1071
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew'
|
1072
1072
|
|
1073
1073
|
request_url = @base_url || @client.base_url
|
1074
1074
|
|
1075
1075
|
options = {
|
1076
1076
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1077
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1077
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1078
1078
|
query_params: {'api-version' => api_version},
|
1079
1079
|
body: request_content,
|
1080
1080
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -1106,13 +1106,13 @@ module Azure::ARM::Web
|
|
1106
1106
|
#
|
1107
1107
|
# @param resource_group_name [String] Name of the resource group to which the
|
1108
1108
|
# resource belongs.
|
1109
|
-
# @param
|
1109
|
+
# @param certificate_order_name [String] Name of the certificate order
|
1110
1110
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1111
1111
|
# will be added to the HTTP request.
|
1112
1112
|
#
|
1113
1113
|
#
|
1114
|
-
def resend_email(resource_group_name,
|
1115
|
-
response = resend_email_async(resource_group_name,
|
1114
|
+
def resend_email(resource_group_name, certificate_order_name, custom_headers = nil)
|
1115
|
+
response = resend_email_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1116
1116
|
nil
|
1117
1117
|
end
|
1118
1118
|
|
@@ -1123,14 +1123,14 @@ module Azure::ARM::Web
|
|
1123
1123
|
#
|
1124
1124
|
# @param resource_group_name [String] Name of the resource group to which the
|
1125
1125
|
# resource belongs.
|
1126
|
-
# @param
|
1126
|
+
# @param certificate_order_name [String] Name of the certificate order
|
1127
1127
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1128
1128
|
# will be added to the HTTP request.
|
1129
1129
|
#
|
1130
1130
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1131
1131
|
#
|
1132
|
-
def resend_email_with_http_info(resource_group_name,
|
1133
|
-
resend_email_async(resource_group_name,
|
1132
|
+
def resend_email_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
1133
|
+
resend_email_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1134
1134
|
end
|
1135
1135
|
|
1136
1136
|
#
|
@@ -1140,15 +1140,15 @@ module Azure::ARM::Web
|
|
1140
1140
|
#
|
1141
1141
|
# @param resource_group_name [String] Name of the resource group to which the
|
1142
1142
|
# resource belongs.
|
1143
|
-
# @param
|
1143
|
+
# @param certificate_order_name [String] Name of the certificate order
|
1144
1144
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1145
1145
|
# to the HTTP request.
|
1146
1146
|
#
|
1147
1147
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1148
1148
|
#
|
1149
|
-
def resend_email_async(resource_group_name,
|
1149
|
+
def resend_email_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
1150
1150
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1151
|
-
fail ArgumentError, '
|
1151
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1152
1152
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1153
1153
|
api_version = '2015-08-01'
|
1154
1154
|
|
@@ -1158,13 +1158,13 @@ module Azure::ARM::Web
|
|
1158
1158
|
# Set Headers
|
1159
1159
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1160
1160
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1161
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1161
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail'
|
1162
1162
|
|
1163
1163
|
request_url = @base_url || @client.base_url
|
1164
1164
|
|
1165
1165
|
options = {
|
1166
1166
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1167
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1167
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1168
1168
|
query_params: {'api-version' => api_version},
|
1169
1169
|
headers: request_headers.merge(custom_headers || {}),
|
1170
1170
|
base_url: request_url
|
@@ -1195,14 +1195,14 @@ module Azure::ARM::Web
|
|
1195
1195
|
#
|
1196
1196
|
# @param resource_group_name [String] Name of the resource group to which the
|
1197
1197
|
# resource belongs.
|
1198
|
-
# @param
|
1198
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1199
1199
|
# @param name_identifier [NameIdentifier] Email address
|
1200
1200
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1201
1201
|
# will be added to the HTTP request.
|
1202
1202
|
#
|
1203
1203
|
#
|
1204
|
-
def resend_request_emails(resource_group_name,
|
1205
|
-
response = resend_request_emails_async(resource_group_name,
|
1204
|
+
def resend_request_emails(resource_group_name, certificate_order_name, name_identifier, custom_headers = nil)
|
1205
|
+
response = resend_request_emails_async(resource_group_name, certificate_order_name, name_identifier, custom_headers).value!
|
1206
1206
|
nil
|
1207
1207
|
end
|
1208
1208
|
|
@@ -1213,15 +1213,15 @@ module Azure::ARM::Web
|
|
1213
1213
|
#
|
1214
1214
|
# @param resource_group_name [String] Name of the resource group to which the
|
1215
1215
|
# resource belongs.
|
1216
|
-
# @param
|
1216
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1217
1217
|
# @param name_identifier [NameIdentifier] Email address
|
1218
1218
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1219
1219
|
# will be added to the HTTP request.
|
1220
1220
|
#
|
1221
1221
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1222
1222
|
#
|
1223
|
-
def resend_request_emails_with_http_info(resource_group_name,
|
1224
|
-
resend_request_emails_async(resource_group_name,
|
1223
|
+
def resend_request_emails_with_http_info(resource_group_name, certificate_order_name, name_identifier, custom_headers = nil)
|
1224
|
+
resend_request_emails_async(resource_group_name, certificate_order_name, name_identifier, custom_headers).value!
|
1225
1225
|
end
|
1226
1226
|
|
1227
1227
|
#
|
@@ -1231,16 +1231,16 @@ module Azure::ARM::Web
|
|
1231
1231
|
#
|
1232
1232
|
# @param resource_group_name [String] Name of the resource group to which the
|
1233
1233
|
# resource belongs.
|
1234
|
-
# @param
|
1234
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1235
1235
|
# @param name_identifier [NameIdentifier] Email address
|
1236
1236
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1237
1237
|
# to the HTTP request.
|
1238
1238
|
#
|
1239
1239
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1240
1240
|
#
|
1241
|
-
def resend_request_emails_async(resource_group_name,
|
1241
|
+
def resend_request_emails_async(resource_group_name, certificate_order_name, name_identifier, custom_headers = nil)
|
1242
1242
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1243
|
-
fail ArgumentError, '
|
1243
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1244
1244
|
fail ArgumentError, 'name_identifier is nil' if name_identifier.nil?
|
1245
1245
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1246
1246
|
api_version = '2015-08-01'
|
@@ -1259,13 +1259,13 @@ module Azure::ARM::Web
|
|
1259
1259
|
request_content = @client.serialize(request_mapper, name_identifier, 'name_identifier')
|
1260
1260
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1261
1261
|
|
1262
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1262
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails'
|
1263
1263
|
|
1264
1264
|
request_url = @base_url || @client.base_url
|
1265
1265
|
|
1266
1266
|
options = {
|
1267
1267
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1268
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1268
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1269
1269
|
query_params: {'api-version' => api_version},
|
1270
1270
|
body: request_content,
|
1271
1271
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -1297,14 +1297,14 @@ module Azure::ARM::Web
|
|
1297
1297
|
#
|
1298
1298
|
# @param resource_group_name [String] Name of the resource group to which the
|
1299
1299
|
# resource belongs.
|
1300
|
-
# @param
|
1300
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1301
1301
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1302
1302
|
# will be added to the HTTP request.
|
1303
1303
|
#
|
1304
1304
|
# @return [Array] operation results.
|
1305
1305
|
#
|
1306
|
-
def retrieve_certificate_actions(resource_group_name,
|
1307
|
-
response = retrieve_certificate_actions_async(resource_group_name,
|
1306
|
+
def retrieve_certificate_actions(resource_group_name, certificate_order_name, custom_headers = nil)
|
1307
|
+
response = retrieve_certificate_actions_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1308
1308
|
response.body unless response.nil?
|
1309
1309
|
end
|
1310
1310
|
|
@@ -1315,14 +1315,14 @@ module Azure::ARM::Web
|
|
1315
1315
|
#
|
1316
1316
|
# @param resource_group_name [String] Name of the resource group to which the
|
1317
1317
|
# resource belongs.
|
1318
|
-
# @param
|
1318
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1319
1319
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1320
1320
|
# will be added to the HTTP request.
|
1321
1321
|
#
|
1322
1322
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1323
1323
|
#
|
1324
|
-
def retrieve_certificate_actions_with_http_info(resource_group_name,
|
1325
|
-
retrieve_certificate_actions_async(resource_group_name,
|
1324
|
+
def retrieve_certificate_actions_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
1325
|
+
retrieve_certificate_actions_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1326
1326
|
end
|
1327
1327
|
|
1328
1328
|
#
|
@@ -1332,15 +1332,15 @@ module Azure::ARM::Web
|
|
1332
1332
|
#
|
1333
1333
|
# @param resource_group_name [String] Name of the resource group to which the
|
1334
1334
|
# resource belongs.
|
1335
|
-
# @param
|
1335
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1336
1336
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1337
1337
|
# to the HTTP request.
|
1338
1338
|
#
|
1339
1339
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1340
1340
|
#
|
1341
|
-
def retrieve_certificate_actions_async(resource_group_name,
|
1341
|
+
def retrieve_certificate_actions_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
1342
1342
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1343
|
-
fail ArgumentError, '
|
1343
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1344
1344
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1345
1345
|
api_version = '2015-08-01'
|
1346
1346
|
|
@@ -1350,13 +1350,13 @@ module Azure::ARM::Web
|
|
1350
1350
|
# Set Headers
|
1351
1351
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1352
1352
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1353
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1353
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveCertificateActions'
|
1354
1354
|
|
1355
1355
|
request_url = @base_url || @client.base_url
|
1356
1356
|
|
1357
1357
|
options = {
|
1358
1358
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1359
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1359
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1360
1360
|
query_params: {'api-version' => api_version},
|
1361
1361
|
headers: request_headers.merge(custom_headers || {}),
|
1362
1362
|
base_url: request_url
|
@@ -1411,14 +1411,14 @@ module Azure::ARM::Web
|
|
1411
1411
|
#
|
1412
1412
|
# @param resource_group_name [String] Name of the resource group to which the
|
1413
1413
|
# resource belongs.
|
1414
|
-
# @param
|
1414
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1415
1415
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1416
1416
|
# will be added to the HTTP request.
|
1417
1417
|
#
|
1418
1418
|
# @return [Array] operation results.
|
1419
1419
|
#
|
1420
|
-
def retrieve_certificate_email_history(resource_group_name,
|
1421
|
-
response = retrieve_certificate_email_history_async(resource_group_name,
|
1420
|
+
def retrieve_certificate_email_history(resource_group_name, certificate_order_name, custom_headers = nil)
|
1421
|
+
response = retrieve_certificate_email_history_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1422
1422
|
response.body unless response.nil?
|
1423
1423
|
end
|
1424
1424
|
|
@@ -1429,14 +1429,14 @@ module Azure::ARM::Web
|
|
1429
1429
|
#
|
1430
1430
|
# @param resource_group_name [String] Name of the resource group to which the
|
1431
1431
|
# resource belongs.
|
1432
|
-
# @param
|
1432
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1433
1433
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1434
1434
|
# will be added to the HTTP request.
|
1435
1435
|
#
|
1436
1436
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1437
1437
|
#
|
1438
|
-
def retrieve_certificate_email_history_with_http_info(resource_group_name,
|
1439
|
-
retrieve_certificate_email_history_async(resource_group_name,
|
1438
|
+
def retrieve_certificate_email_history_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
1439
|
+
retrieve_certificate_email_history_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1440
1440
|
end
|
1441
1441
|
|
1442
1442
|
#
|
@@ -1446,15 +1446,15 @@ module Azure::ARM::Web
|
|
1446
1446
|
#
|
1447
1447
|
# @param resource_group_name [String] Name of the resource group to which the
|
1448
1448
|
# resource belongs.
|
1449
|
-
# @param
|
1449
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1450
1450
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1451
1451
|
# to the HTTP request.
|
1452
1452
|
#
|
1453
1453
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1454
1454
|
#
|
1455
|
-
def retrieve_certificate_email_history_async(resource_group_name,
|
1455
|
+
def retrieve_certificate_email_history_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
1456
1456
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1457
|
-
fail ArgumentError, '
|
1457
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1458
1458
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1459
1459
|
api_version = '2015-08-01'
|
1460
1460
|
|
@@ -1464,13 +1464,13 @@ module Azure::ARM::Web
|
|
1464
1464
|
# Set Headers
|
1465
1465
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1466
1466
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1467
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1467
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveEmailHistory'
|
1468
1468
|
|
1469
1469
|
request_url = @base_url || @client.base_url
|
1470
1470
|
|
1471
1471
|
options = {
|
1472
1472
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1473
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1473
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1474
1474
|
query_params: {'api-version' => api_version},
|
1475
1475
|
headers: request_headers.merge(custom_headers || {}),
|
1476
1476
|
base_url: request_url
|
@@ -1525,15 +1525,15 @@ module Azure::ARM::Web
|
|
1525
1525
|
#
|
1526
1526
|
# @param resource_group_name [String] Name of the resource group to which the
|
1527
1527
|
# resource belongs.
|
1528
|
-
# @param
|
1528
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1529
1529
|
# @param site_seal_request [SiteSealRequest] Site seal request
|
1530
1530
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1531
1531
|
# will be added to the HTTP request.
|
1532
1532
|
#
|
1533
1533
|
# @return [SiteSeal] operation results.
|
1534
1534
|
#
|
1535
|
-
def retrieve_site_seal(resource_group_name,
|
1536
|
-
response = retrieve_site_seal_async(resource_group_name,
|
1535
|
+
def retrieve_site_seal(resource_group_name, certificate_order_name, site_seal_request, custom_headers = nil)
|
1536
|
+
response = retrieve_site_seal_async(resource_group_name, certificate_order_name, site_seal_request, custom_headers).value!
|
1537
1537
|
response.body unless response.nil?
|
1538
1538
|
end
|
1539
1539
|
|
@@ -1544,15 +1544,15 @@ module Azure::ARM::Web
|
|
1544
1544
|
#
|
1545
1545
|
# @param resource_group_name [String] Name of the resource group to which the
|
1546
1546
|
# resource belongs.
|
1547
|
-
# @param
|
1547
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1548
1548
|
# @param site_seal_request [SiteSealRequest] Site seal request
|
1549
1549
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1550
1550
|
# will be added to the HTTP request.
|
1551
1551
|
#
|
1552
1552
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1553
1553
|
#
|
1554
|
-
def retrieve_site_seal_with_http_info(resource_group_name,
|
1555
|
-
retrieve_site_seal_async(resource_group_name,
|
1554
|
+
def retrieve_site_seal_with_http_info(resource_group_name, certificate_order_name, site_seal_request, custom_headers = nil)
|
1555
|
+
retrieve_site_seal_async(resource_group_name, certificate_order_name, site_seal_request, custom_headers).value!
|
1556
1556
|
end
|
1557
1557
|
|
1558
1558
|
#
|
@@ -1562,16 +1562,16 @@ module Azure::ARM::Web
|
|
1562
1562
|
#
|
1563
1563
|
# @param resource_group_name [String] Name of the resource group to which the
|
1564
1564
|
# resource belongs.
|
1565
|
-
# @param
|
1565
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1566
1566
|
# @param site_seal_request [SiteSealRequest] Site seal request
|
1567
1567
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1568
1568
|
# to the HTTP request.
|
1569
1569
|
#
|
1570
1570
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1571
1571
|
#
|
1572
|
-
def retrieve_site_seal_async(resource_group_name,
|
1572
|
+
def retrieve_site_seal_async(resource_group_name, certificate_order_name, site_seal_request, custom_headers = nil)
|
1573
1573
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1574
|
-
fail ArgumentError, '
|
1574
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1575
1575
|
fail ArgumentError, 'site_seal_request is nil' if site_seal_request.nil?
|
1576
1576
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1577
1577
|
api_version = '2015-08-01'
|
@@ -1590,13 +1590,13 @@ module Azure::ARM::Web
|
|
1590
1590
|
request_content = @client.serialize(request_mapper, site_seal_request, 'site_seal_request')
|
1591
1591
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1592
1592
|
|
1593
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1593
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal'
|
1594
1594
|
|
1595
1595
|
request_url = @base_url || @client.base_url
|
1596
1596
|
|
1597
1597
|
options = {
|
1598
1598
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1599
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1599
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1600
1600
|
query_params: {'api-version' => api_version},
|
1601
1601
|
body: request_content,
|
1602
1602
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -1638,13 +1638,13 @@ module Azure::ARM::Web
|
|
1638
1638
|
#
|
1639
1639
|
# @param resource_group_name [String] Name of the resource group to which the
|
1640
1640
|
# resource belongs.
|
1641
|
-
# @param
|
1641
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1642
1642
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1643
1643
|
# will be added to the HTTP request.
|
1644
1644
|
#
|
1645
1645
|
#
|
1646
|
-
def verify_domain_ownership(resource_group_name,
|
1647
|
-
response = verify_domain_ownership_async(resource_group_name,
|
1646
|
+
def verify_domain_ownership(resource_group_name, certificate_order_name, custom_headers = nil)
|
1647
|
+
response = verify_domain_ownership_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1648
1648
|
nil
|
1649
1649
|
end
|
1650
1650
|
|
@@ -1655,14 +1655,14 @@ module Azure::ARM::Web
|
|
1655
1655
|
#
|
1656
1656
|
# @param resource_group_name [String] Name of the resource group to which the
|
1657
1657
|
# resource belongs.
|
1658
|
-
# @param
|
1658
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1659
1659
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1660
1660
|
# will be added to the HTTP request.
|
1661
1661
|
#
|
1662
1662
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1663
1663
|
#
|
1664
|
-
def verify_domain_ownership_with_http_info(resource_group_name,
|
1665
|
-
verify_domain_ownership_async(resource_group_name,
|
1664
|
+
def verify_domain_ownership_with_http_info(resource_group_name, certificate_order_name, custom_headers = nil)
|
1665
|
+
verify_domain_ownership_async(resource_group_name, certificate_order_name, custom_headers).value!
|
1666
1666
|
end
|
1667
1667
|
|
1668
1668
|
#
|
@@ -1672,15 +1672,15 @@ module Azure::ARM::Web
|
|
1672
1672
|
#
|
1673
1673
|
# @param resource_group_name [String] Name of the resource group to which the
|
1674
1674
|
# resource belongs.
|
1675
|
-
# @param
|
1675
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1676
1676
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1677
1677
|
# to the HTTP request.
|
1678
1678
|
#
|
1679
1679
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1680
1680
|
#
|
1681
|
-
def verify_domain_ownership_async(resource_group_name,
|
1681
|
+
def verify_domain_ownership_async(resource_group_name, certificate_order_name, custom_headers = nil)
|
1682
1682
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1683
|
-
fail ArgumentError, '
|
1683
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1684
1684
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1685
1685
|
api_version = '2015-08-01'
|
1686
1686
|
|
@@ -1690,13 +1690,13 @@ module Azure::ARM::Web
|
|
1690
1690
|
# Set Headers
|
1691
1691
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1692
1692
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1693
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1693
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership'
|
1694
1694
|
|
1695
1695
|
request_url = @base_url || @client.base_url
|
1696
1696
|
|
1697
1697
|
options = {
|
1698
1698
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1699
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1699
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1700
1700
|
query_params: {'api-version' => api_version},
|
1701
1701
|
headers: request_headers.merge(custom_headers || {}),
|
1702
1702
|
base_url: request_url
|
@@ -1857,7 +1857,7 @@ module Azure::ARM::Web
|
|
1857
1857
|
#
|
1858
1858
|
# @param resource_group_name [String] Name of the resource group to which the
|
1859
1859
|
# resource belongs.
|
1860
|
-
# @param
|
1860
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1861
1861
|
# @param certificate_distinguished_name [AppServiceCertificateOrder]
|
1862
1862
|
# Distinguished name to to use for the certificate order.
|
1863
1863
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1865,8 +1865,8 @@ module Azure::ARM::Web
|
|
1865
1865
|
#
|
1866
1866
|
# @return [AppServiceCertificateOrder] operation results.
|
1867
1867
|
#
|
1868
|
-
def begin_create_or_update(resource_group_name,
|
1869
|
-
response = begin_create_or_update_async(resource_group_name,
|
1868
|
+
def begin_create_or_update(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
|
1869
|
+
response = begin_create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers).value!
|
1870
1870
|
response.body unless response.nil?
|
1871
1871
|
end
|
1872
1872
|
|
@@ -1877,7 +1877,7 @@ module Azure::ARM::Web
|
|
1877
1877
|
#
|
1878
1878
|
# @param resource_group_name [String] Name of the resource group to which the
|
1879
1879
|
# resource belongs.
|
1880
|
-
# @param
|
1880
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1881
1881
|
# @param certificate_distinguished_name [AppServiceCertificateOrder]
|
1882
1882
|
# Distinguished name to to use for the certificate order.
|
1883
1883
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1885,8 +1885,8 @@ module Azure::ARM::Web
|
|
1885
1885
|
#
|
1886
1886
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1887
1887
|
#
|
1888
|
-
def begin_create_or_update_with_http_info(resource_group_name,
|
1889
|
-
begin_create_or_update_async(resource_group_name,
|
1888
|
+
def begin_create_or_update_with_http_info(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
|
1889
|
+
begin_create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers).value!
|
1890
1890
|
end
|
1891
1891
|
|
1892
1892
|
#
|
@@ -1896,7 +1896,7 @@ module Azure::ARM::Web
|
|
1896
1896
|
#
|
1897
1897
|
# @param resource_group_name [String] Name of the resource group to which the
|
1898
1898
|
# resource belongs.
|
1899
|
-
# @param
|
1899
|
+
# @param certificate_order_name [String] Name of the certificate order.
|
1900
1900
|
# @param certificate_distinguished_name [AppServiceCertificateOrder]
|
1901
1901
|
# Distinguished name to to use for the certificate order.
|
1902
1902
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -1904,9 +1904,9 @@ module Azure::ARM::Web
|
|
1904
1904
|
#
|
1905
1905
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1906
1906
|
#
|
1907
|
-
def begin_create_or_update_async(resource_group_name,
|
1907
|
+
def begin_create_or_update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
|
1908
1908
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1909
|
-
fail ArgumentError, '
|
1909
|
+
fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
|
1910
1910
|
fail ArgumentError, 'certificate_distinguished_name is nil' if certificate_distinguished_name.nil?
|
1911
1911
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1912
1912
|
api_version = '2015-08-01'
|
@@ -1925,13 +1925,13 @@ module Azure::ARM::Web
|
|
1925
1925
|
request_content = @client.serialize(request_mapper, certificate_distinguished_name, 'certificate_distinguished_name')
|
1926
1926
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1927
1927
|
|
1928
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{
|
1928
|
+
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}'
|
1929
1929
|
|
1930
1930
|
request_url = @base_url || @client.base_url
|
1931
1931
|
|
1932
1932
|
options = {
|
1933
1933
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1934
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
1934
|
+
path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
|
1935
1935
|
query_params: {'api-version' => api_version},
|
1936
1936
|
body: request_content,
|
1937
1937
|
headers: request_headers.merge(custom_headers || {}),
|