Method: Azure::Maintenance::Mgmt::V2018_06_01_preview::ConfigurationAssignments#create_or_update_parent
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_maintenance/configuration_assignments.rb
#create_or_update_parent(resource_group_name, provider_name, resource_parent_type, resource_parent_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.
43 44 45 46 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_maintenance/configuration_assignments.rb', line 43 def create_or_update_parent(resource_group_name, provider_name, resource_parent_type, resource_parent_name, resource_type, resource_name, configuration_assignment_name, configuration_assignment, custom_headers:nil) response = create_or_update_parent_async(resource_group_name, provider_name, resource_parent_type, resource_parent_name, resource_type, resource_name, configuration_assignment_name, configuration_assignment, custom_headers:custom_headers).value! response.body unless response.nil? end |