Method: Azure::Maintenance::Mgmt::V2018_06_01_preview::ConfigurationAssignments#create_or_update
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_maintenance/configuration_assignments.rb
#create_or_update(resource_group_name, provider_name, resource_type, resource_name, configuration_assignment_name, configuration_assignment, custom_headers: nil) ⇒ ConfigurationAssignment
Create configuration assignment
Register configuration for resource.
configurationAssignment will be added to the HTTP request.
298 299 300 301 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_maintenance/configuration_assignments.rb', line 298 def create_or_update(resource_group_name, provider_name, resource_type, resource_name, configuration_assignment_name, configuration_assignment, custom_headers:nil) response = create_or_update_async(resource_group_name, provider_name, resource_type, resource_name, configuration_assignment_name, configuration_assignment, custom_headers:custom_headers).value! response.body unless response.nil? end |